class Nivel < ActiveRecord::Base
   belongs_to :missao
   has_many :perguntas, :dependent => :destroy
   accepts_nested_attributes_for :perguntas
   validates_presence_of :nome, :message => "Campo obrigatorio!"
end
